﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{

    [Table]
    [Serializable]
    public partial class t_BPM_CN116_mBussiness : DataObject
    {


        [Column]
        public string BA { get { return _BA; } set { _BA = value; EntityState.FieldChange("BA"); } } private string _BA; public static FieldInfo bA = new FieldInfo("t_BPM_CN116_mBussiness", "BA");
        [Column]
        public string BU { get { return _BU; } set { _BU = value; EntityState.FieldChange("BU"); } } private string _BU; public static FieldInfo bU = new FieldInfo("t_BPM_CN116_mBussiness", "BU");
        [Column]
        public string SBU { get { return _SBU; } set { _SBU = value; EntityState.FieldChange("SBU"); } } private string _SBU; public static FieldInfo sBU = new FieldInfo("t_BPM_CN116_mBussiness", "SBU");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("t_BPM_CN116_mBussiness", "Department");
        [Column]
        public string Section { get { return _Section; } set { _Section = value; EntityState.FieldChange("Section"); } } private string _Section; public static FieldInfo section = new FieldInfo("t_BPM_CN116_mBussiness", "Section");

        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_HK_Employee", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_HK_Employee", "Status");

    }
}
